package com.ytjj.qmyx.mall.service.impl;

import com.ytjj.qmyx.mall.mapper.PlatformStrictDynamicIncomeListMapper;
import com.ytjj.qmyx.mall.model.PlatformStrictDynamicIncomeList;
import com.ytjj.qmyx.mall.service.PlatformStrictDynamicIncomeListService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class PlatformStrictDynamicIncomeListServiceImpl implements PlatformStrictDynamicIncomeListService {
    @Resource
    private PlatformStrictDynamicIncomeListMapper platformStrictDynamicIncomeListMapper;

    @Override
    public List<PlatformStrictDynamicIncomeList> selectRankList() {
        return platformStrictDynamicIncomeListMapper.queryCurDayRankList();
    }

    @Override
    public List<PlatformStrictDynamicIncomeList> selectYesterDayRankList() {
        return platformStrictDynamicIncomeListMapper.queryYesterDayRankList();
    }


}
